package com.example.adminserivce.Service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.adminserivce.domain.dto.ResourcePage;
import com.example.common.domain.pojo.Resources;

import java.util.List;

public interface ResourceService extends IService<Resources> {

    //获取所有有关的资源
    List<Resources> getResource();

    //获取指定课程资源
    List<Resources> getResourceByCourseId(String id);

    //删除资源
    Boolean DeleteResourceById(String id);

    Page<Resources> getResourcePage(ResourcePage queryWrapper);

}
